package com.zyong.design.pattern.facade.case2;

/**
 * 立体声
 * @program: zyong-design-pattern
 * @ClassName: Stereo
 * @author: zyong
 * @create: 2024-04-07 23:24
 */
public class Stereo {
    private static Stereo instance = new Stereo();

    public static Stereo getInstance() {
        return instance;
    }

    /**
     * 开
     */
    public void on() {
        System.out.println("stereo on");
    }

    /**
     * 关
     */
    public void off() {
        System.out.println("stereo off");
    }

    /**
     * 调大
     */
    public void up() {
        System.out.println("stereo up");
    }
}
